/* Clean consolidated stylesheet
   Paper asset required: assets/paper-texture.png
*/

@font-face {
  font-family: "Kupiura";
  src: url("assets/gl-kupiura-medium-37268379451.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}@font-face {
  font-family: "Dumbadze";
  src: url("assets/gl-dumbadze-garnituri-semi-bold-22441730243.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}*, *::before, *::after {
  box-sizing: border-box;
}
body.invitation-locked {
  height: 100svh;
  overflow: hidden;
}
main {
  width: 100%;
  overflow: clip;
}
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
button, input, select, textarea {
  font: inherit;
}
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 1px solid var(--olive);
  outline-offset: 4px;
}
.opening {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 0 58px;
  overflow: hidden;
  background: transparent;
}
.eyebrow, .section-kicker {
  margin: 0;
  font-family: var(--sans-ka);
  font-size: clamp(.56rem, 1.3vw, .64rem);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--olive);
}
.envelope-stage {
  position: relative;
  width: min(104vw, 900px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1900px;
  transform: translateY(5svh);
}
.envelope-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1.632 / 1;
  transform-style: preserve-3d;
  filter: drop-shadow(0 22px 24px rgba(48, 29, 23, .16));
}
.envelope-back, .envelope-front {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.envelope-back {
  z-index: 1;
}
.envelope-front {
  z-index: 6;
  clip-path: polygon(
    0 0,
    38% 49%,
    62% 49%,
    100% 0,
    100% 100%,
    0 100%
  );
}
.card-kicker {
  margin: 0;
  font-family: var(--sans-ka);
  font-size: clamp(.5rem, 1.3vw, .63rem);
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--olive);
}
.invite-card h1 {
  margin: .55rem 0 .45rem;
  font-family: var(--serif-ka);
  font-size: clamp(1.75rem, 5vw, 3.45rem);
  font-weight: 400;
  line-height: .93;
}
.invite-card h1 span, .invite-card h1 i {
  display: block;
}
.invite-card h1 i {
  margin: .22rem 0;
  font-family: var(--serif-en);
  font-size: .52em;
  font-weight: 400;
  font-style: italic;
  color: var(--olive);
}
.invite-ring {
  position: absolute;
  left: 50%;
  bottom: -11%;
  z-index: 8;
  width: clamp(45px, 10vw, 82px);
  opacity: 0;
  transform: translateX(-50%) translateY(24px) scale(.82);
  filter: drop-shadow(0 5px 6px rgba(30, 20, 13, .14));
  pointer-events: none;
  will-change: transform, opacity;
}
.envelope-flap {
  position: absolute;
  z-index: 8;
  left: -.08%;
  top: -1px;
  width: 100.16%;
  transform: rotateX(0deg);
  transform-origin: 50% 1px;
  backface-visibility: visible;
  pointer-events: none;
  will-change: transform;
}
.wax-seal {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 53%;
  width: clamp(4.6rem, 13vw, 7rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 7px rgba(30, 20, 13, .2));
  pointer-events: none;
  will-change: transform, opacity;
}
.opening-scroll {
  position: absolute;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20;
  transform: translateX(-50%);
  opacity: 0;
  text-align: center;
  pointer-events: none;
}
.opening-scroll span {
  font-family: var(--sans-en);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.opening-scroll i {
  display: block;
  width: 1px;
  height: 26px;
  margin: 6px auto 0;
  background: var(--olive);
}
.invitation-flow {
  width: 100%;
  padding: 12px 0 36px;
  background: transparent;
}
.content-section {
  position: relative;
  width: min(94vw, var(--content-max));
  margin: 0 auto var(--section-gap);
  padding: 0;
}
.content-section:last-child {
  margin-bottom: 0;
}
.asset-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.card-bg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.asset-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.arch-bow {
  width: clamp(58px, 15vw, 86px);
  margin-bottom: clamp(7px, 2vw, 13px);
}
.small-script {
  margin: 0 0 8px;
  font-family: var(--serif-ka);
  font-size: clamp(.68rem, 1.9vw, .88rem);
  color: rgba(247, 240, 230, .78);
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.timeline-event a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.timeline-event a:hover {
  color: #b0b083;
}
.walk-scene {
  position: relative;
  width: 100%;
  margin: -2px 0 14px;
  overflow: hidden;
  background: transparent;
  contain: layout paint;
}
.walk-stage {
  position: relative;
  width: 100%;
  height: clamp(520px, 72svh, 720px);
  overflow: hidden;
  isolation: isolate;
  background: #e8d8c2;
  transform: translateZ(0);
}
.walk-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  transform: scale(1.02);
}
.walk-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(142, 112, 77, .12),
    rgba(142, 112, 77, 0)
  );
}
.walk-world {
  position: absolute;
  z-index: 4;
  inset: 0 auto 0 0;
  width: 250vw;
  height: 100%;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.dancing-woman, .dancing-man, .dancing-couple, .tuba-player {
  position: absolute;
  bottom: -1.5%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 98%;
  will-change: transform;
  backface-visibility: hidden;
  filter: drop-shadow(0 9px 4px rgba(71, 52, 37, .13));
}
.dancing-woman {
  left: 30vw;
  z-index: 5;
  width: clamp(190px, 26vw, 355px);
}
.dancing-man {
  left: 82vw;
  z-index: 5;
  width: clamp(185px, 25vw, 340px);
}
.dancing-couple {
  left: 137vw;
  z-index: 7;
  width: clamp(175px, 23vw, 315px);
}
.tuba-player {
  left: 202vw;
  z-index: 5;
  width: clamp(175px, 23vw, 315px);
}
.waiter-rig {
  position: absolute;
  left: 0;
  bottom: -1%;
  z-index: 10;
  width: clamp(240px, 31vw, 420px);
  height: min(82%, 650px);
  pointer-events: none;
  transform-origin: 50% 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.walk-waiter, .waiter-shadow {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 100%;
  will-change: transform;
  backface-visibility: hidden;
}
.walk-waiter {
  left: 0;
  z-index: 2;
  filter: drop-shadow(0 10px 4px rgba(71, 52, 37, .12));
}
.waiter-shadow {
  left: 7%;
  z-index: 1;
  height: 97%;
  opacity: .18;
  filter: blur(.4px);
}
.walk-cupid {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 14;
  width: clamp(110px, 15vw, 205px);
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  filter: drop-shadow(0 8px 4px rgba(91, 65, 43, .10));
}
.walk-loop-curtain {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #e8d8c2;
  opacity: 1;
  pointer-events: none;
  will-change: opacity;
}
@media (max-width: 900px) {.walk-stage {
  height: clamp(500px, 68svh, 650px);
}
.walk-world {
  width: 270vw;
}
.waiter-rig {
  width: clamp(220px, 39vw, 330px);
  height: 79%;
}
}@media (max-width: 820px) {.content-section {
  width: min(92vw, var(--content-max));
}
.opening-copy {
  top: max(20px, env(safe-area-inset-top));
}
.countdown {
  max-width: 92vw;
}
}@media (max-width: 600px) {.walk-scene {
  margin-bottom: 12px;
}
:root {
  --section-gap: 14px;
}
.opening {
  min-height: 100svh;
  padding: max(56px, env(safe-area-inset-top))
      0
      max(42px, env(safe-area-inset-bottom));
  overflow: hidden;
}
.envelope-stage {
  width: min(92vw, 520px);
  max-width: 92vw;
  transform: translateY(2svh);
  perspective: 1400px;
}
.envelope-shell {
  width: 100%;
}
.wax-seal {
  width: clamp(5rem, 22vw, 5.7rem);
  top: 53%;
}
.invite-card {
  left: 7.5%;
  width: 85%;
  height: 72%;
  bottom: 10%;
  padding: .72rem .72rem 2.1rem;
}
.invite-card h1 {
  margin: .38rem 0 .3rem;
  font-size: clamp(1.35rem, 7vw, 2rem);
  line-height: .95;
}
.card-kicker {
  font-size: .47rem;
}
.invite-ring {
  width: 48px;
  bottom: -10%;
}
.invitation-flow {
  padding: 8px 0 30px;
  padding-top: 10px;
}
.content-section {
  width: min(91vw, var(--content-max));
}
.details-section {
  width: min(84vw, 450px);
}
.dress-section {
  width: min(91vw, 540px);
}
.rsvp-section {
  width: min(89vw, 460px);
}
.countdown-section {
  width: min(92vw, 620px);
}
.walk-stage {
  height: clamp(430px, 60svh, 540px);
}
.walk-background {
  object-position: center center;
  transform: none;
}
.walk-world {
  width: 285vw;
}
.waiter-rig {
  bottom: -1.5%;
  width: 47vw;
  max-width: 220px;
  height: 73%;
}
.walk-cupid {
  width: 24vw;
  max-width: 116px;
}
.invite-card h1, .couple-names, .countdown-inner h2, .countdown strong, .timeline-event time, .date-stack, .invite-card time {
  font-family: var(--font-kupiura);
}
.section-kicker, .invite-copy, .details-title, .timeline-event p, .dress-content h2, .dress-content p, .rsvp-content h2, .rsvp-intro, .final-message {
  font-family: var(--font-dumbadze);
}
.opening-copy {
  top: max(18px, env(safe-area-inset-top));
  bottom: max(18px, env(safe-area-inset-bottom));
}
.tap-note {
  font-size: .78rem;
}
.invite-copy {
  max-width: 18rem;
  margin: .28rem auto .4rem;
  font-size: .72rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.timeline-event p, .timeline-event .place, .timeline-event a, .timeline-event a small, .dress-content p, .dress-note, .rsvp-intro, #rsvpForm label span, #rsvpForm input, #rsvpForm select, #rsvpForm textarea {
  font-size: .72rem;
}
.dress-content h2, .rsvp-content h2 {
  font-size: clamp(1.65rem, 7vw, 2.25rem);
}
.countdown-section .section-kicker {
  font-size: .84rem;
}
.countdown strong {
  font-size: clamp(1.55rem, 8vw, 2.2rem);
}
.countdown span {
  font-size: .65rem;
}
.final-message {
  font-size: .8rem;
}
.couple-names {
  margin-top: 12%;
  gap: 10px;
  font-size: clamp(
      1.9rem,
      9vw,
      2.8rem
    );
  transform: translateY(-30px);
}
.couple-names em {
  font-size: .55em;
}
.date-stack {
  font-size: clamp(1rem, 4.5vw, 1.3rem);
  gap: 22px;
  margin-top: 8px;
  transform: translateY(-18px);
}
.date-stack span {
  font-size: clamp(
      2.5rem,
      12vw,
      3.6rem
    );
  line-height: .85;
}
.invite-card .card-kicker {
  margin-bottom: 8px;
  font-size: .9rem;
}
.invite-names {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 7vw, 2rem);
}
.invite-card time {
  font-size: .88rem;
}
.arch-section {
  max-width: 320px;
  width: min(90vw, 390px);
  margin-bottom: 22px;
}
.arch-date i {
  height: 15px;
}
.gallery-section {
  width: 88vw;
  margin-bottom: 24px;
}
.gallery-inner {
  gap: 10px;
  padding-inline: 2%;
}
.arch-content {
  padding: 16% 9% 13%;
}
.arch-invite-title {
  margin: 21px 0 13px;
  margin-top: 34px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 1.08;
  white-space: nowrap;
}
.arch-invite-text {
  max-width: 270px;
  font-size: .88rem;
  line-height: 1.62;
}
.arch-date {
  gap: 7px;
  font-size: clamp(1.38rem, 6.4vw, 1.72rem);
  margin-top: 21px;
}
.arch-date .date-day, .arch-date .date-month, .arch-date .date-year {
  font-size: 1.28rem;
}
.arch-date .date-divider {
  height: 12px;
  margin: 6px 0;
}
.timeline-event p {
  font-size: .84rem;
}
.timeline-event .place, .timeline-event a {
  font-size: .72rem;
}
.timeline-line {
  height: 20px;
  margin: 10px auto;
}
.rsvp-content h2, .rsvp-content .rsvp-intro {
  transform: translateY(-25px) !important;
}
.dancing-woman {
  bottom: -2%;
  left: 36vw;
  width: 44vw !important;
  max-width: 205px !important;
}
.dancing-man {
  bottom: -2%;
  left: 99vw;
  width: 42vw !important;
  max-width: 198px !important;
}
.dancing-couple {
  bottom: -2%;
  left: 162vw;
  width: 40vw !important;
  max-width: 190px !important;
}
.tuba-player {
  bottom: -2%;
  left: 228vw;
  width: 41vw !important;
  max-width: 195px !important;
}
.details-content {
  padding: 11% 9% 9% !important;
}
.details-title {
  font-size: 1.58rem !important;
  line-height: 1.05 !important;
  white-space: nowrap;
}
.map-note {
  margin-bottom: 17px !important;
  font-size: .66rem !important;
}
.timeline-event {
  grid-template-columns: 74px
      18px
      minmax(0, 1fr) !important;
  padding: 14px 0 !important;
}
.timeline-event time {
  padding-right: 8px !important;
  font-size: 1.35rem !important;
}
.timeline-info {
  padding-left: 9px !important;
}
.timeline-info p {
  font-size: .78rem !important;
}
.timeline-info .place, .timeline-info a {
  font-size: .67rem !important;
}
.timeline-info a small {
  font-size: .88em !important;
}
.rsvp-content h2 {
  color: #F5EEE5 !important;
}
.rsvp-intro {
  color: rgba(245, 238, 229, .88) !important;
}
.countdown-section .section-kicker, .countdown strong, .countdown span, .final-message {
  color: #432B25 !important;
}
.music-vinyl {
  width: 64px;
  bottom: 82px;
}
.opening-scroll {
  bottom: max(
      8px,
      env(safe-area-inset-bottom)
    );
}
}@media (max-width: 380px) {:root {
  --section-gap: 12px;
}
.details-section {
  width: 86vw;
}
.rsvp-section {
  width: 91vw;
}
.envelope-stage {
  width: 90vw;
  max-width: 90vw;
}
.wax-seal {
  width: 4.9rem;
}
.walk-stage {
  height: clamp(410px, 58svh, 500px);
}
.arch-section {
  max-width: 290px;
  width: 92vw;
}
.arch-date {
  font-size: 1.34rem;
}
.arch-invite-title {
  font-size: 1.35rem;
}
.arch-invite-text {
  font-size: .82rem;
  line-height: 1.6;
}
.arch-date .date-day, .arch-date .date-month, .arch-date .date-year {
  font-size: 1.18rem;
}
.details-title {
  font-size: 1.45rem !important;
}
.timeline-event {
  grid-template-columns: 68px
      16px
      minmax(0, 1fr) !important;
}
.timeline-event time {
  font-size: 1.25rem !important;
}
.timeline-info p {
  font-size: .74rem !important;
}
.timeline-info .place, .timeline-info a {
  font-size: .64rem !important;
}
.music-vinyl {
  width: 58px;
  bottom: 78px;
}
}.dress-section {
  width: min(88vw, 580px);
  margin-bottom: 12px;
}
.dress-content {
  padding: 10% 14%;
}
.dress-content h2, .rsvp-content h2, .countdown-inner h2 {
  font-family: var(--serif-ka);
  font-weight: 400;
}
.dress-content p {
  max-width: 400px;
  margin: 3px auto;
  font-size: clamp(.68rem, 1.7vw, .84rem);
  line-height: 1.55;
}
.dress-note {
  font-size: clamp(.62rem, 1.55vw, .76rem);
  color: rgba(56,42,38,.78);
}
.rsvp-section {
  width: min(80vw, 480px);
  margin-bottom: 14px;
}
#rsvpForm {
  width: min(100%, 340px);
  margin: 0 auto;
  text-align: left;
}
#rsvpForm label {
  display: block;
  margin-bottom: 10px;
}
input, select, textarea {
  width: 100%;
  padding: 7px 1px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif-ka);
  font-size: .84rem;
  transition: border-color .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-bottom-color: var(--olive);
}
textarea {
  resize: vertical;
  min-height: 54px;
}
.submit-btn:active {
  transform: scale(.985);
}
.countdown-section {
  width: min(92vw, 650px);
  padding-top: 4px;
  text-align: center;
}
.countdown-inner h2 {
  margin: 5px 0 16px;
  font-family: var(--serif-en);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-style: italic;
}
.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
}
.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#countdownSection .countdown-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {html {
  scroll-behavior: auto;
}
*, *::before, *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
.js-reveal-ready .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.music-vinyl.is-playing img {
  animation: none;
}
}html {
  background-color: #f5eee2;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #f5eee2;
  background-image: url("assets/paper2.png");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat-y;
  color: var(--ink);
  font-family: var(--serif-ka);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  background-attachment: scroll;
}
.envelope-shell, .invite-card, .envelope-flap, .wax-seal, .walk-world, .waiter-rig, .walk-waiter, .waiter-shadow, .dancing-woman, .dancing-man, .dancing-couple, .tuba-player, .walk-cupid {
  will-change: auto;
}
.walk-scene.is-active .walk-world, .walk-scene.is-active .waiter-rig, .walk-scene.is-active .walk-waiter, .walk-scene.is-active .waiter-shadow, .walk-scene.is-active .dancing-woman, .walk-scene.is-active .dancing-man, .walk-scene.is-active .dancing-couple, .walk-scene.is-active .tuba-player, .walk-scene.is-active .walk-cupid {
  will-change: transform, opacity;
}
@media (max-width: 700px) {.envelope-shell {
  filter: drop-shadow(0 12px 16px rgba(48, 29, 23, .11));
}
.dancing-woman, .dancing-man, .dancing-couple, .tuba-player, .walk-waiter, .walk-cupid {
  filter: none;
}
.waiter-shadow {
  filter: none;
  opacity: .12;
}
}.reveal {
  opacity: 1;
  transform: none;
}
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .55s ease,
    transform .55s ease;
}
.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html, body, button, input, select, textarea {
  font-family: var(--font-dumbadze);
}
p, a, label, small, button, input, select, textarea, .eyebrow, .section-kicker, .tap-note, .card-kicker, .invite-copy, .small-script, .map-note, .timeline-event p, .timeline-event .place, .timeline-event a, .timeline-event a small, .dress-content p, .dress-note, .rsvp-intro, #rsvpForm label span, .submit-btn, .form-status, .final-message, .countdown span, .opening-scroll span {
  font-family: var(--font-dumbadze);
  font-style: normal;
}
h1, h2, h3, h4, h5, h6, .details-title, .dress-content h2, .rsvp-content h2 {
  font-family: var(--font-dumbadze);
  font-style: normal;
  font-weight: 600;
}
.invite-card h1, .invite-card h1 span, .couple-names, .couple-names span, .couple-names em, .invite-card h1 i {
  font-family: var(--font-kupiura);
  font-style: normal;
  font-weight: 500;
}
.invite-card time, .date-stack, .date-stack span, .timeline-event time, .countdown-inner h2, .countdown strong {
  font-family: var(--font-kupiura);
  font-style: normal;
  font-weight: 500;
}
.countdown span, .countdown-section .section-kicker, .final-message {
  font-family: var(--font-dumbadze);
}
#rsvpForm, #rsvpForm label, #rsvpForm label span, #rsvpForm input, #rsvpForm select, #rsvpForm textarea, #rsvpForm button {
  font-family: var(--font-dumbadze);
}
:root {
  --ivory: #f3eee5;
  --paper: #f7f3eb;
  --espresso: #432b25;
  --espresso-soft: #50322a;
  --olive: #74754d;
  --olive-soft: #99986b;
  --ink: #382a26;
  --muted: #766963;
  --hairline: rgba(67, 43, 37, .18);
  --font-kupiura: "Kupiura", serif;
  --font-dumbadze: "Dumbadze", serif;
  --serif-ka: var(--font-dumbadze);
  --sans-ka: var(--font-dumbadze);
  --serif-en: var(--font-kupiura);
  --sans-en: var(--font-kupiura);
  --section-gap: clamp(14px, 2.4vw, 26px);
  --content-max: 720px;
  --text-primary: #F4ECE1;
  --text-accent: #C7C39B;
  --title-size: clamp(1.9rem, 5.4vw, 3rem);
  --small-size: clamp(.72rem, 1.85vw, .86rem);
}
.opening-copy {
  position: absolute;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  top: auto;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 100%;
  padding: 0 18px;
}
.tap-note {
  margin: 0;
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.4;
  color: #5E463C;
}
.invite-copy {
  max-width: 28rem;
  margin: 0 auto 18px;
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.65;
  color: #6A5147;
}
.details-title, .dress-content h2, .rsvp-content h2 {
  font-family: var(--font-dumbadze);
  font-size: var(--title-size);
  font-weight: 600;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0;
}
.timeline-event p, .timeline-event .place, .timeline-event a, .timeline-event a small {
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.5;
}
.timeline-event .place, .timeline-event a, .timeline-event a small {
  color: var(--text-accent);
}
.dress-content p, .dress-note {
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.55;
  color: #654F45;
}
.palette {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  gap: 9px;
}
.palette span {
  border-radius: 50%;
  background: var(--color);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  width: clamp(22px, 5vw, 30px);
  height: clamp(22px, 5vw, 30px);
  border: 1px solid rgba(75,55,47,.12);
}
.rsvp-intro, #rsvpForm label span, #rsvpForm input, #rsvpForm select, #rsvpForm textarea, .submit-btn, .form-status {
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
}
#countdownSection {
  position: relative;
  width: min(92vw, 720px);
  min-height: 420px;
  margin: 40px auto;
  padding: 70px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("assets/dress-card.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  overflow: visible;
  color: var(--text-primary);
}
.couple-names {
  color: var(--text-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  font-family: var(--font-kupiura);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-35px);
}
.couple-names span {
  display: inline-block;
}
.couple-names em {
  font-weight: 400;
  display: inline-block;
  margin: 0;
  font-family: var(--font-kupiura);
  font-size: .65em;
  font-style: normal;
  color: var(--text-accent);
}
.date-stack {
  font-family: var(--font-kupiura);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
  transform: translateY(-20px);
}
.date-stack span {
  display: block;
  font-family: var(--font-kupiura);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: .06em;
}
.date-stack i {
  width: 5px;
  height: 5px;
  margin: 1px 0;
  border-radius: 50%;
  background: var(--text-accent);
}
.invite-card .card-kicker {
  margin: 0 0 10px;
  font-family: var(--font-dumbadze);
  font-size: clamp(.95rem, 2.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #4B372F;
}
.invite-names {
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--font-kupiura);
  font-size: clamp(1.8rem, 5vw, 3.15rem);
  font-weight: 500;
  line-height: .95;
  color: #4B372F;
}
.invite-names span, .invite-names i {
  display: block;
  font-family: var(--font-kupiura);
}
.invite-names i {
  margin: .18rem 0;
  font-size: .5em;
  font-style: normal;
  color: #8C8967;
}
.invite-card time {
  font-family: var(--font-kupiura);
  font-size: clamp(.95rem, 2.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .04em;
  color: #4B372F;
}
.arch-asset {
  width: 100%;
}
.couple-names, .date-stack, .small-script {
  display: none;
}
.arch-section {
  margin-bottom: 12px;
  width: min(74vw, 430px);
  margin: 0 auto 26px;
}
.arch-date span {
  display: block;
}
.arch-date i {
  display: block;
  width: 1px;
  height: clamp(14px, 2.6vw, 20px);
  background: rgba(199,195,155,.78);
}
.gallery-section {
  margin-bottom: 14px;
  width: min(84vw, 520px);
  margin: 0 auto 28px;
}
.gallery-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 3vw, 22px);
  padding: 8px 3%;
}
.gallery-inner .polaroid:first-child {
  transform: rotate(-2.2deg) translateY(3px);
}
.gallery-inner .polaroid:nth-child(2) {
  transform: rotate(2deg) translateY(-3px);
}
.polaroid {
  margin: 0;
  padding: clamp(7px, 1.5vw, 10px) clamp(7px, 1.5vw, 10px) clamp(19px, 4vw, 28px);
  background: #F8F3EA;
  box-shadow: 0 13px 28px rgba(59,40,32,.11);
}
.details-section {
  width: min(76vw, 480px);
  margin-bottom: 12px;
  margin-top: 4px;
}
.arch-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16% 11% 13%;
  justify-content: center;
}
.arch-invite-title {
  max-width: 90%;
  margin: 0 0 18px;
  font-family: var(--font-dumbadze);
  font-size: clamp(1.7rem, 4.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
  color: #F4ECE1;
  white-space: nowrap;
}
.arch-invite-text {
  max-width: 320px;
  margin: 0;
  font-family: var(--font-dumbadze);
  font-size: clamp(.9rem, 2.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .01em;
  color: rgba(244, 236, 225, .9);
}
.arch-date {
  justify-content: center;
  gap: 8px;
  font-size: clamp(1.45rem, 3.7vw, 2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  font-family: var(--font-kupiura);
  color: #C7C39B;
}
.arch-date .date-day, .arch-date .date-month, .arch-date .date-year {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
}
.arch-date .date-divider {
  width: 1px;
  height: 14px;
  margin: 6px 0;
  background: rgba(199, 195, 155, .65);
}
.timeline-event p {
  margin: 0 0 6px;
  font-family: var(--font-dumbadze);
  font-size: clamp(.86rem, 2vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  color: #F5EEE5;
}
.timeline-event .place, .timeline-event a {
  font-family: var(--font-dumbadze);
  font-size: clamp(.7rem, 1.65vw, .84rem);
  font-weight: 400;
  line-height: 1.45;
  color: #C7C39B;
  text-decoration: none;
}
.timeline-event a small {
  margin-top: 3px;
  font-size: .88em;
  font-weight: 400;
  color: rgba(199, 195, 155, .72);
}
.rsvp-content h2, .rsvp-intro {
  transform: translateY(-20px);
}
.dress-content > p {
  color: #F5EEE5 !important;
  font-weight: 500;
  opacity: 1;
}
.dress-content .dress-note {
  color: #F5EEE5 !important;
  font-weight: 500;
  opacity: 1;
}
.details-content {
  padding: 11% 11% 9%;
  color: #432B25 !important;
}
.details-title {
  letter-spacing: .005em;
  transform: translateY(-12px);
  margin: 0 0 8px !important;
  color: #432B25 !important;
  font-family: var(--font-dumbadze) !important;
  font-size: clamp(1.7rem, 4.8vw, 2.55rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  white-space: nowrap;
}
.map-note {
  max-width: 280px;
  transform: translateY(-12px);
  margin: 0 0 20px !important;
  color: #66683F !important;
  font-family: var(--font-dumbadze) !important;
  font-size: clamp(.66rem, 1.5vw, .78rem) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  opacity: .92;
}
.timeline-event {
  flex-direction: column;
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(72px, .82fr)
    22px
    minmax(0, 1.7fr) !important;
  align-items: center !important;
  padding: 17px 0 !important;
  text-align: left !important;
}
.timeline-event time {
  margin-bottom: 6px;
  letter-spacing: .03em;
  margin: 0 !important;
  padding-right: 12px !important;
  color: #432B25 !important;
  font-family: var(--font-kupiura) !important;
  font-size: clamp(1.45rem, 3.8vw, 1.95rem) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1 !important;
  text-align: right !important;
}
.timeline-marker {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-marker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(102, 104, 63, .34);
}
.timeline-marker span {
  position: relative;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66683F;
}
.timeline-info {
  min-width: 0;
  padding-left: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}
.timeline-info p {
  width: 100%;
  margin: 0 0 5px !important;
  color: #432B25 !important;
  font-family: var(--font-dumbadze) !important;
  font-size: clamp(.8rem, 1.9vw, .96rem) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}
.timeline-info .place, .timeline-info a {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  color: #66683F !important;
  font-family: var(--font-dumbadze) !important;
  font-size: clamp(.67rem, 1.55vw, .79rem) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-decoration: none;
}
.timeline-info a small {
  width: 100%;
  margin-top: 2px;
  color: rgba(67, 43, 37, .68) !important;
  font-size: .9em !important;
  font-weight: 500 !important;
  text-align: left !important;
}
.timeline-line {
  width: 1px;
  height: clamp(22px, 4vw, 30px);
  margin: 12px auto;
  background: rgba(199, 195, 155, .5);
  display: none !important;
}
.rsvp-content {
  padding: 10% 12% 8%;
  color: #F5EEE5 !important;
}
.rsvp-content h2 {
  font-size: clamp(1.75rem, 5.8vw, 3rem);
  margin: 0 0 12px;
  color: #F5EEE5 !important;
}
.rsvp-intro {
  max-width: 330px;
  margin: 0 auto 13px;
  font-size: clamp(.68rem, 1.7vw, .8rem);
  line-height: 1.55;
  color: rgba(245, 238, 229, .88) !important;
}
#rsvpForm label span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--sans-ka);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: #C7C39B !important;
}
#rsvpForm input, #rsvpForm select, #rsvpForm textarea {
  color: #F5EEE5 !important;
  border-bottom-color: rgba(245, 238, 229, .34) !important;
  background: transparent !important;
}
#rsvpForm input::placeholder, #rsvpForm textarea::placeholder {
  color: rgba(245, 238, 229, .52) !important;
}
#rsvpForm select option {
  color: #432B25;
  background: #F5EEE5;
}
.submit-btn {
  width: 100%;
  margin-top: 5px;
  padding: 10px 14px;
  border: 1px solid rgba(67,43,37,.78);
  border-radius: 999px;
  font-family: var(--sans-ka);
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  color: #F5EEE5 !important;
  border-color: rgba(245, 238, 229, .72) !important;
  background: transparent !important;
}
.submit-btn:hover {
  color: #432B25 !important;
  background: #F5EEE5 !important;
}
.form-status {
  min-height: 1.2em;
  margin: 7px 0 0;
  text-align: center;
  font-family: var(--sans-ka);
  font-size: .56rem;
  color: rgba(245, 238, 229, .78) !important;
}
#countdownSection, #countdownSection .countdown-inner {
  color: #432B25 !important;
}
.countdown-section .section-kicker {
  margin: 0 0 18px;
  font-family: var(--font-dumbadze);
  font-size: clamp(.9rem, 2.3vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0;
  color: #66683F !important;
}
.countdown strong {
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-kupiura);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 500;
  color: #432B25 !important;
}
.countdown span {
  margin-top: 6px;
  font-family: var(--font-dumbadze);
  font-size: var(--small-size);
  font-weight: 600;
  letter-spacing: 0;
  color: #432B25 !important;
  opacity: .8;
}
.countdown i {
  width: 1px;
  height: 24px;
  background: rgba(67, 43, 37, .28) !important;
}
.final-message {
  margin: 18px 0 0;
  margin-top: 18px;
  font-family: var(--font-dumbadze);
  font-size: clamp(.85rem, 2.3vw, 1.05rem);
  line-height: 1.4;
  color: #432B25 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}
.dress-content h2 {
  font-size: clamp(1.75rem, 5.8vw, 3rem);
  margin: 0 0 14px;
  color: #432B25 !important;
}
.dress-content > p, .dress-content .dress-note {
  color: #432B25 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}
.music-vinyl {
  position: absolute;
  left: 50%;
  bottom: 86px;
  z-index: 25;
  width: clamp(60px, 7vw, 74px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) scale(.72);
  transform-origin: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.music-vinyl img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  filter: drop-shadow(
      0 4px 6px rgba(67, 43, 37, .12)
    );
}
.music-vinyl.is-playing img {
  animation: vinylSpin 6s linear infinite;
}
@keyframes vinylSpin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}.music-vinyl:hover img {
  filter: brightness(1.03)
    drop-shadow(
      0 4px 6px rgba(67, 43, 37, .12)
    );
}
.music-vinyl:active img {
  filter: brightness(.96)
    drop-shadow(
      0 4px 6px rgba(67, 43, 37, .12)
    );
}
.music-vinyl:focus-visible {
  outline: 1px solid var(--olive);
  outline-offset: 5px;
}
.invite-card {
  position: absolute;
  z-index: 4;
  left: 8%;
  bottom: 10%;
  width: 84%;
  height: 72%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1.3rem 3rem;
  overflow: visible;
  text-align: center;
  background: var(--paper);
  border: 0;
  box-shadow: 0 6px 16px rgba(44, 29, 24, .08);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  color: #4B372F;
  background-color: #f7f3eb;
  background-image: url("assets/konvert.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
   FINAL MOBILE TYPOGRAPHY + CARD SIZING
   One authoritative mobile block — keep at the end
========================================================= */

.countdown-section .section-kicker,
.invite-card .card-kicker {
  color: #4F5130 !important;
}

.map-note {
  font-weight: 700 !important;
}

.dress-note {
  font-weight: 700 !important;
}

@media (max-width: 600px) {
  .arch-section {
    width: min(84vw, 390px) !important;
    max-width: none !important;
  }

  .details-section {
    width: min(88vw, 460px) !important;
  }

  .dress-section {
    width: min(92vw, 540px) !important;
  }

  .rsvp-section {
    width: min(92vw, 480px) !important;
  }

  .countdown-section {
    width: min(94vw, 620px) !important;
  }

  .arch-content {
    padding: 15% 9% 12% !important;
  }

  .arch-invite-title {
    font-size: 1.38rem !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  .arch-invite-text {
    font-size: .84rem !important;
    line-height: 1.58 !important;
  }

  .arch-date .date-day,
  .arch-date .date-month,
  .arch-date .date-year {
    font-size: 1.3rem !important;
  }

  .details-title,
  .dress-content h2,
  .rsvp-content h2,
  .countdown-section .section-kicker {
    font-family: var(--font-dumbadze) !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  .dress-content h2 {
    color: #4F5130 !important;
    font-weight: 700 !important;
  }

  .map-note {
    font-size: .76rem !important;
    font-weight: 700 !important;
  }

  .timeline-event time {
    font-size: 1.45rem !important;
  }

  .timeline-info p {
    font-size: .80rem !important;
  }

  .timeline-info .place,
  .timeline-info a {
    font-size: .69rem !important;
  }

  .rsvp-intro {
    white-space: nowrap !important;
    font-size: .64rem !important;
  }

  #rsvpForm label span,
  #rsvpForm input,
  #rsvpForm select,
  #rsvpForm textarea {
    font-size: .74rem !important;
  }

  .submit-btn {
    font-size: .66rem !important;
  }

  .dress-content > p {
    font-size: .76rem !important;
  }

  .dress-note {
    white-space: nowrap !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
  }

  .countdown strong {
    font-size: clamp(1.75rem, 8vw, 2.3rem) !important;
  }

  .countdown span {
    font-size: .68rem !important;
  }

  .final-message {
    font-size: .82rem !important;
  }
}
@media (max-width: 600px) {

  .site-footer {
    width: 100% !important;
    padding: 24px 20px 36px !important;
    text-align: center !important;
  }

  .site-footer p {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 0.68rem !important;
    line-height: 1.4 !important;
    color: rgba(67, 43, 37, 0.65) !important;
  }

  .site-footer p span {
    display: block !important;
    width: 100% !important;
    margin: 5px auto 0 !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    color: #66683F !important;
  }

}
/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  width: 100%;
  padding: 28px 20px 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer p {
  width: 100%;
  margin: 0 auto !important;
  text-align: center !important;
  font-family: var(--font-dumbadze) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.03em !important;
  color: rgba(67, 43, 37, 0.62) !important;
}

.site-footer p span {
  display: block !important;
  width: 100%;
  margin: 6px auto 0 !important;
  text-align: center !important;
  font-family: var(--font-kupiura) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em !important;
  color: #66683F !important;
}

